package com.ranjiaqi.pojo;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

/**
 * @ClassName Testproperties
 * @Description TODO
 * @Author hp
 * @Date 2021/7/2 19:46
 * @Version 1.0
 **/

public class Testproperties {
    public static void main(String[] args) throws IOException {
        FileInputStream fps = new FileInputStream("day21/pro.properties");
        Properties properties = new Properties();
        properties.load(fps);
        fps.close();
        System.out.println(properties);
    }
}
